出现"Provider (0x80004005)未指定的错误/liuyan.asp, 第 8 行"要如何解决,请高手指教
来源:百度知道 编辑:UC知道 时间:2024/06/10 23:14:32
我的代码是:
<%
Dim Recordset1
Dim Recordset1_numRows
Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_ahly_STRING /(第8行)
Recordset1.Source = "SELECT * FROM liuyandata"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 3
Recordset1.Open()
Recordset1_numRows = 0
%>
<%
Dim Recordset1
Dim Recordset1_numRows
Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_ahly_STRING /(第8行)
Recordset1.Source = "SELECT * FROM liuyandata"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 3
Recordset1.Open()
Recordset1_numRows = 0
%>
MM_ahly_STRING 这个是否已经定义? 或者是否是数据库链接对象??
看着变量像是个 字符串...如果是的话..肯定出错的, 这里需要的是一个 数据库链接对象(一般定义成conn)
你找一下相关内容, 找到 Set ... = Server.CreateObject("Adodb.Connection")
把这里的变量值替换到 MM_ahly_STRING 里面
请翻译"provide"
provide是什么意思?
关于provide
翻译:provide upcharge for the applicable finishes for the item as indicated in column"I"
到哪里搜到"can technology provide all the answer to all our problems"相关文章
请帮忙翻译和解释Please provide: ?$pricing.... and "watts vs. m/s" output curves.
provide to me还是provide me
请帮我翻译成英文:“真正为顾客提供价值”急!“really provide value for customers " 对吗?
we provide英译汉
provide avoid的区别